{yun:}include file="$userstyle/header.htm"{/yun} 
<div class="yun_w1200">
{yun:}include file="$userstyle/left.htm"{/yun}
<div class="yun_m_rightbox fltR mt20 re">
<script>
$(document).ready(function(){	
	var proportion='{yun:}$config.integral_proportion{/yun}';
	if($.trim($("#integral").val())){
		var integral=$.trim($("#integral").val());
		var price=integral/proportion;
		$("#user_vip_price").val(price);
		$(".payintegral").html(price);
	}
	$(".payment_list_text").click(function() {
		var val=$(this).attr('data-id');
		$(".payment_list_text").removeClass('payment_list_cur');
		$(this).addClass('payment_list_cur');
		$("#autointegral").val('');
        $("#integral").val(val);
		var price=val/proportion;
		$("#user_vip_price").val(price);
		$(".payintegral").html(price);
    });
	$("#autointegral").keyup(function(e) {
		if($(this).val()){
			$(".payment_list_text").removeClass('payment_list_cur');
			$("#integral").val($(this).val());
			var price=$(this).val()/proportion;
			$("#user_vip_price").val(price);
			$(".payintegral").html(price);
		}else{
			$("#integral").val('0');
			$("#user_vip_price").val('0');
			$(".payintegral").html('0');
		}
	});
});
function userautointegral(){
	var integral=parseInt($("#autointegral").val());
	var proportion='{yun:}$config.integral_proportion{/yun}';
	if(integral){
		var min_recharge='{yun:}$config.integral_min_recharge{/yun}';
		if(min_recharge>0&&integral<min_recharge){
			integral=min_recharge;
			$("#autointegral").val(integral);
			$("#integral").val(integral);
		}
		var price=integral/proportion;
		$("#user_vip_price").val(price);
		$(".payintegral").html(price);
		$(".payment_list_text").removeClass('payment_list_cur');
	}
}
function pay_form(){
	var integral=$("#integral").val();
	if(Number(integral)<1){
		layer.msg('请填正确填写充值{yun:}$config.integral_pricename{/yun}！', 2, 8);return false;  
	}
}
</script>
   <div class="member_right_index_h1 fltL"> <span class="member_right_h1_span fltL">账户充值</span> <i class="member_right_h1_icon user_bg"></i></div>
   <div class="resume_Prompt_box"><div  class="resume_Prompt"><i class="resume_Prompt_icon"></i>当前{yun:}$config.integral_pricename{/yun}兑换比为1元={yun:}$config.integral_proportion{/yun}{yun:}$config.integral_priceunit{/yun}{yun:}$config.integral_pricename{/yun}{yun:}if $config.integral_min_recharge>0{/yun}，单次最低充值{yun:}$config.integral_min_recharge{/yun}{yun:}$config.integral_pricename{/yun}。{yun:}/if{/yun}</div></div>
	<div id="gms_showclew"></div>
	<div class="resume_box_list"><div class="clear"></div>
  	<div id="">
    <form name="alipayment" target="supportiframe" action="index.php?c=pay&act=dingdan" method="post" onsubmit="return pay_form();">
    <input type="hidden" id="integral" name="integral" value="100" />
    <div class="payment_list"><div class="payment_list_s">充值数量：</div>
	<div class="payment_list_r">
	<span class="payment_list_text payment_list_cur" data-id="100"><i class="payment_list_text_icon"></i>100{yun:}$config.integral_pricename{/yun}</span>
	<span class="payment_list_text" data-id="500"><i class="payment_list_text_icon"></i>500{yun:}$config.integral_pricename{/yun}</span>
	<span class="payment_list_text" data-id="1000"><i class="payment_list_text_icon"></i>1000{yun:}$config.integral_pricename{/yun}</span>
	<span class="payment_list_text" data-id="2000"><i class="payment_list_text_icon"></i>2000{yun:}$config.integral_pricename{/yun}</span>
	<div class="payment_list_zdy"><input type="text"  onBlur="userautointegral()" id="autointegral" class="payment_list_input"placeholder="自定义" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" maxlength='6'/>{yun:}$config.integral_pricename{/yun}
	</div>
	</div>
	 <div class="payment_list"><div class="payment_list_s mt10">支付金额：</div><div class="payment_list_r"><span class="payintegral">0</span>元
     	<input type="hidden" name="price" size="10"  id="user_vip_price"></div></div>
	 <div class="payment_list"><div class="payment_list_s">支付备注：</div><div class="payment_list_r"><textarea name="remark" id="remark" cols="40" class="payment_list_textarea"></textarea></div></div>
	 <div class="payment_list"><div class="payment_list_s">&nbsp;</div><div class="payment_list_r">
	 	<input type="submit" name="submit" class="payment_list_other" value="提交订单">
	 </div></div>
    </div>
    </form>
    <div class="wxts_box">
    <div class="wxts">温馨提示：</div>
    1. 银行付款界面尽量使用ie浏览器<br>
    2. 过程中请勿按浏览器“后退”键<br>
    3. 提交支付后，将转入银行的网站，请根据页面提示操作<br>
    4. 如果提交后在银行页面打不开，可以尝试过3分钟后再刷新页面,清理IE缓存,卸载3721或google工具条,换个浏览器或换个上网环境 
    </div>
</div>
</div>
</div>

{yun:}include file="$userstyle/footer.htm"{/yun}